package cn.iocoder.yudao.module.wrzj.controller.app.conversation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "用户 APP - chatbase会话记录新增/修改 Request VO")
@Data
@Builder
public class AppConversationSaveReqVO {

    @Schema(description = "会话记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5579")
    private Integer id;

    @Schema(description = "chatbase会话id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13126")
    @NotEmpty(message = "chatbase会话id不能为空")
    private String conversationId;

    @Schema(description = "用户id", example = "17271")
    private String uid;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "内容角色")
    private String role;

    @Schema(description = "机器人id", example = "24695")
    private String chatbotId;

}
